const config = {
    dev: {
        // api: "https://app-backend.test.xingjigangwan.com/app_backend/",
        // api: "http://118.116.4.45:8080/app_backend/",
        // api: "https://app-backend.test.xingjigangwan.com/app_backend/",
        // api: "http://192.168.31.47:8080/",
        api: "http://118.123.228.247:8089/",
        // api: "https://app-backend.xingjigangwan.com/app_backend/",
        walletUrl: 'http://118.116.4.47:8086',
        // ossUrl: 'https://visoonfile.oss-cn-beijing.aliyuncs.com/'
        ossUrl: 'https://gangwanyuan.oss-cn-beijing.aliyuncs.com/',
        domain: 'https://app.xingjigangwan.com/'
    },
    test: {
        api: "https://app-backend.test.xingjigangwan.com/app_backend/",
        walletUrl: 'http://118.116.4.47:8086',
        ossUrl: 'https://gangwanyuan.oss-cn-beijing.aliyuncs.com/',
        domain: 'https://app.test.xingjigangwan.com/'
    },
    pre: {
        api: "http://118.123.228.247:8089/",
        walletUrl: 'http://118.116.4.47:8086',
        ossUrl: 'https://gangwanyuan.oss-cn-beijing.aliyuncs.com/',
        domain: 'http://app-pre.test.xingjigangwan.com/'
    },
    pro: {
        api: "https://app-backend.xingjigangwan.com/app_backend/",
        walletUrl: 'http://118.116.4.47:8086',
        ossUrl: 'https://gangwanyuan.oss-cn-beijing.aliyuncs.com/',
        domain: 'https://app.xingjigangwan.com/'
    }
};

export default {
    ENV: process.env.VUE_APP_DOMAIN_CONFIG,
    ...config[process.env.VUE_APP_DOMAIN_CONFIG]
};